package com.dfrz.ch10.Animal;

/**
 * 作者：wangmaokang
 * 日期: 2021/4/20 11:43
 * 描述:
 */
public class Duck extends Animal {
    public Duck(String name) {
        super(name);
    }

    @Override
    public void cry(){
        System.out.println("我是小鸭子，我会嘎嘎叫");
    }
}
